import pandas as pd


def series_define():
    # 方式一：列表
    ser = pd.Series(["brace", "embrace", "bracelet", "grace", "disgrace"])
    print(ser)
    # 方式二：字典
    dic = pd.Series({"ace": "menace", "face": "facet", "pace": "pacemaker",
                     "race": "terrace"})
    print(dic)


if __name__ == '__main__':
    series_define()
